/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.util;

import org.ipti.br.tag.entity.Hb;
import org.ipti.br.tag.entity.Human;
import org.ipti.br.tag.entity.enums.HBConsentment;

/**
 *
 * @author FelipeMSX
 */
public class ConsentTermAuxiliator  implements Comparable<ConsentTermAuxiliator> {
        
    private Human human;
    private Hb hb;
    private boolean existDataBase;
    private HBConsentment hbEnum;
       
    public ConsentTermAuxiliator( Human human, Hb hb, boolean existDataBase){
        this.human = human;
        this.hb = hb; 
        this.existDataBase =existDataBase;
    }
    
    public ConsentTermAuxiliator(){
        
    }
    
    @Override
    public int compareTo(ConsentTermAuxiliator o) {
       return (this.getHuman().getName()).compareTo( o.getHuman().getName());
    }

    public Human getHuman() {
        return human;
    }

    public void setHuman(Human human) {
        this.human = human;
    }

    public Hb getHb() {
        return hb;
    }

    public void setHb(Hb hb) {
        this.hb = hb;
    }

    public boolean isExistDataBase() {
        return existDataBase;
    }

    public void setExistDataBase(boolean existDataBase) {
        this.existDataBase = existDataBase;
    }

    public HBConsentment getHbEnum() {
        return hbEnum;
    }

    public void setHbEnum(HBConsentment hbEnum) {
        this.hbEnum = hbEnum;
    }
    
    
}
